/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

package com.woodws.fresh.hf.api.dto

import io.swagger.annotations.*

import java.time.LocalDateTime
import java.io.Serializable

/**
 * 动态表Dto
 * @author maoxiongdong
*/
@ApiModel(value = "动态表")
data class HfUserDynamicDto(@ApiModelProperty(value = "序列号") var dynamicId: Long? = null): Serializable{

    /**
    * 用户id
    */
    @ApiModelProperty(value = "用户id")
    var userId: Long? = null

    /**
    * 图文地址
    */
    @ApiModelProperty(value = "图文地址")
    var dynamicPictureAddress: String? = null

    /**
    * 动态详情
    */
    @ApiModelProperty(value = "动态详情")
    var dynamicInfo: String? = null

    /**
    * 动态发表位置
    */
    @ApiModelProperty(value = "动态发表位置")
    var dynamicLocation: String? = null

    /**
    * 动态话题
    */
    @ApiModelProperty(value = "动态话题")
    var dynamicTitle: String? = null

    /**
    * 艾特好友
    */
    @ApiModelProperty(value = "艾特好友")
    var dynamicTagFriends: String? = null

    /**
    * 动态是否隐藏
    */
    @ApiModelProperty(value = "动态是否隐藏")
    var dynamicHideType: String? = null

    /**
    * 动态是否可下载
    */
    @ApiModelProperty(value = "动态是否可下载")
    var dynamicDownloadType: String? = null

    /**
    * 动态是否可转发
    */
    @ApiModelProperty(value = "动态是否可转发")
    var dynamicForwardType: String? = null

    /**
    * 置顶标记
    */
    @ApiModelProperty(value = "置顶标记")
    var dynamicType: String? = null

    /**
    * 置顶时间
    */
    @ApiModelProperty(value = "置顶时间")
    var dynamicTopTime: LocalDateTime? = null

    /**
    * 点赞数目
    */
    @ApiModelProperty(value = "点赞数目")
    var dynamicSpotFabulousCount: Int? = null

    /**
    * 评论数目
    */
    @ApiModelProperty(value = "评论数目")
    var dynamicCommentCount: Int? = null

    /**
    * 转发数目
    */
    @ApiModelProperty(value = "转发数目")
    var dynamicForwardCount: Int? = null

    /**
    * 不喜欢数目
    */
    @ApiModelProperty(value = "不喜欢数目")
    var dynamicDislikeCount: Int? = null

    /**
    * 动态转发id
    */
    @ApiModelProperty(value = "动态转发id")
    var dynamicForwardId: Long? = null

    /**
    * 多租户
    */
    @ApiModelProperty(value = "多租户")
    var tenantId: Long? = null

    /**
    * 删除标识，0正常，1删除
    */
    @ApiModelProperty(value = "删除标识，0正常，1删除")
    var delFlag: Int? = null

    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    var createdDate: LocalDateTime? = null

    /**
    * 创建人
    */
    @ApiModelProperty(value = "创建人")
    var createdBy: Long? = null

    /**
    * 最后更新时间
    */
    @ApiModelProperty(value = "最后更新时间")
    var updateDate: LocalDateTime? = null

    /**
    * 最后更新人
    */
    @ApiModelProperty(value = "最后更新人")
    var updateBy: Long? = null
}